package com.fancy.service.impl;

import com.fancy.dao.LanguageDao;
import com.fancy.pojo.category.Language;
import com.fancy.service.LanguageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LanguageServiceImpl implements LanguageService {
    @Autowired
    LanguageDao languageDao;
    @Override
    public List<Language> selectAllLanguage() {
        return languageDao.selectAllLanguage();
    }
}
